package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报表字段配置对象 report_field_config
 * 
 * @author ruoyi
 * @date 2025-10-23
 */
public class ReportFieldConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 报表编码 */
    @Excel(name = "报表编码")
    private String reportCode;

    /** 字段名 */
    @Excel(name = "字段名")
    private String fieldName;

    /** 字段显示名称 */
    @Excel(name = "字段显示名称")
    private String fieldLabel;

    /** 字段类型 */
    @Excel(name = "字段类型")
    private String fieldType;

    /** 字典类型 */
    @Excel(name = "字典类型")
    private String dictType;

    /** 是否列表显示 */
    @Excel(name = "是否列表显示")
    private String isList;

    /** 是否查询字段 */
    @Excel(name = "是否查询字段")
    private String isQuery;

    /** 是否导出 */
    @Excel(name = "是否导出")
    private String isExport;

    /** 是否汇总字段 */
    @Excel(name = "是否汇总字段")
    private String isSummary;

    /** 查询方式 */
    @Excel(name = "查询方式")
    private String queryType;

    /** 列表显示顺序 */
    @Excel(name = "列表显示顺序")
    private Integer listSort;

    /** 查询显示顺序 */
    @Excel(name = "查询显示顺序")
    private Integer querySort;

    /** 列宽 */
    @Excel(name = "列宽")
    private Integer columnWidth;

    /** 对齐方式 */
    @Excel(name = "对齐方式")
    private String align;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setReportCode(String reportCode) 
    {
        this.reportCode = reportCode;
    }

    public String getReportCode() 
    {
        return reportCode;
    }

    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }

    public void setFieldLabel(String fieldLabel) 
    {
        this.fieldLabel = fieldLabel;
    }

    public String getFieldLabel() 
    {
        return fieldLabel;
    }

    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }

    public void setDictType(String dictType) 
    {
        this.dictType = dictType;
    }

    public String getDictType() 
    {
        return dictType;
    }

    public void setIsList(String isList) 
    {
        this.isList = isList;
    }

    public String getIsList() 
    {
        return isList;
    }

    public void setIsQuery(String isQuery) 
    {
        this.isQuery = isQuery;
    }

    public String getIsQuery() 
    {
        return isQuery;
    }

    public void setIsExport(String isExport) 
    {
        this.isExport = isExport;
    }

    public String getIsExport() 
    {
        return isExport;
    }

    public void setIsSummary(String isSummary) 
    {
        this.isSummary = isSummary;
    }

    public String getIsSummary() 
    {
        return isSummary;
    }

    public void setQueryType(String queryType) 
    {
        this.queryType = queryType;
    }

    public String getQueryType() 
    {
        return queryType;
    }

    public void setListSort(Integer listSort) 
    {
        this.listSort = listSort;
    }

    public Integer getListSort() 
    {
        return listSort;
    }

    public void setQuerySort(Integer querySort) 
    {
        this.querySort = querySort;
    }

    public Integer getQuerySort() 
    {
        return querySort;
    }

    public void setColumnWidth(Integer columnWidth) 
    {
        this.columnWidth = columnWidth;
    }

    public Integer getColumnWidth() 
    {
        return columnWidth;
    }

    public void setAlign(String align) 
    {
        this.align = align;
    }

    public String getAlign() 
    {
        return align;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportCode", getReportCode())
            .append("fieldName", getFieldName())
            .append("fieldLabel", getFieldLabel())
            .append("fieldType", getFieldType())
            .append("dictType", getDictType())
            .append("isList", getIsList())
            .append("isQuery", getIsQuery())
            .append("isExport", getIsExport())
            .append("isSummary", getIsSummary())
            .append("queryType", getQueryType())
            .append("listSort", getListSort())
            .append("querySort", getQuerySort())
            .append("columnWidth", getColumnWidth())
            .append("align", getAlign())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
